< previous page page_752 next page >

Page 752
Chapter 16: The Debugger
What are the three modes in Visual Basic?
Answer: Design, Break, and Run.
Which key marks a line as a breakpoint?
Answer: F9.
Which statement prints values from the Immediate window when the application is in Break mode?
Answer: Print or ?.
Which statement allows printing to the Immediate window from within the application?
Answer: Debug.Print.
Which statement causes Visual Basic to halt execution of your program?
Answer: Stop.
Chapter 17: Error Handling
Write an error statement that will cause Visual Basic to jump to a label named FormLoad_EH.
Answer:
9f31265bb40b592b1929e18a47ab28e5.gif
On Error Goto FormLoad_EH
Which statement causes execution to continue at the line following the one the error occurred on?
Answer: Resume Next.
Which object/property returns a string describing the error that just occurred?
Answer: Err.Description.
Write the statement that turns error handling off.
Answer: On Error Goto 0.

 
< previous page page_752 next page >

If you like this book, buy it!